From: Jonathan Lebon Date: Wed, 4 Jul 2018 15:59:18 +0000 (-0400) Subject: tests/installed: Add NOTE when re-using RPMs X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~21^2~17 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2cb2571127e3d82f59133f63fca97951691859aa;p=ostree.git tests/installed: Add NOTE when re-using RPMs One gotcha here is that we don't invalidate the RPMs if we're not sitting on the same commit anymore. Shouldn't be too hard to fix, though let's at least make a note of it for now. Closes: #1668 Approved by: cgwalters --- diff --git a/tests/installed/playbook-run.sh b/tests/installed/playbook-run.sh index 37572bd4..af906c3d 100755 --- a/tests/installed/playbook-run.sh +++ b/tests/installed/playbook-run.sh @@ -7,6 +7,10 @@ dn=$(cd $(dirname $0) && pwd) if ! test -d build; then mkdir -p build (cd build && ${dn}/../../ci/build-rpm.sh) +else + # XXX: we should invalidate based on `git describe` or something + echo "NOTE: Re-using prebuilt RPMs:" + find build -name '*.rpm' fi # https://fedoraproject.org/wiki/CI/Tests